//
//  FindCollectionViewCell.m
//  CBT
//
//  Created by Mr.Zhang on 2019/1/2.
//  Copyright © 2019 Mr.Zhang. All rights reserved.
//

#import "FindCollectionViewCell.h"

@interface FindCollectionViewCell()

@property (weak, nonatomic) IBOutlet UIImageView *layerImageView;
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;

@end

@implementation FindCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.layerImageView.image = [UIImage resizableImageWithName:@"huijiao"];
}

-(void)setItemModel:(FindItemModel *)itemModel
{
    _itemModel = itemModel;
    self.iconImageView.image = [UIImage imageNamed:itemModel.iconName];
    self.showLabel.text = kLocalizedString(self.itemModel.title, nil);
}

- (void)changeLanguage{
    self.showLabel.text = kLocalizedString(self.itemModel.title, nil);
}

@end
